package cn.kgc.househou.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
@ApiModel("房屋信息表")
public class Houseinfo {
    @ApiModelProperty("房屋编号")
    private Integer houseid;
    @ApiModelProperty("房屋描述")
    private String housedesc;
    @ApiModelProperty("户型标号")
    private Integer typeid;
    @ApiModelProperty("租金")
    private Integer monthrent;
    @ApiModelProperty("发布日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishdate;

    public Integer getHouseid() {
        return houseid;
    }

    public void setHouseid(Integer houseid) {
        this.houseid = houseid;
    }

    public String getHousedesc() {
        return housedesc;
    }

    public void setHousedesc(String housedesc) {
        this.housedesc = housedesc == null ? null : housedesc.trim();
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public Integer getMonthrent() {
        return monthrent;
    }

    public void setMonthrent(Integer monthrent) {
        this.monthrent = monthrent;
    }

    public Date getPublishdate() {
        return publishdate;
    }

    public void setPublishdate(Date publishdate) {
        this.publishdate = publishdate;
    }
}